<template>
  <div>我是自定义指令的区域
      <button v-copy="'哈哈'">一键赋值</button>
      <button v-longpress="logpress">哈哈哈</button>
      <button v-debounce="logpress">数据只触发一次</button>
  </div>
</template>

<script>
export default {
    methods: {
        logpress(){
            alert('哈哈哈在')
        }
    },
}
</script>

<style>

</style>